package com.fisionlabs.captor;

import com.fisionlabs.analizer.chain.Chain;

import jpcap.PacketReceiver;
import jpcap.packet.Packet;

public class PacketHandler implements PacketReceiver {
	Chain chain;
	
	public PacketHandler()
	{
		this.chain = new Chain();
	}
	
	@Override
	public void receivePacket(Packet packet) {
		this.chain.search(packet);
		//System.out.println(packet.toString());		
	}

}
